<?php

class GameGuideAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_INT
    );

    /**
     *  更新玩家新手引导引导序号和步骤序号
     *
     * @param int $userId 用户ID
     * @param int $guideGroup 引导序号
     * @param int $step 引导步骤
     * @return SzResponse
     */
    public function execute($userId, $guideGroup, $step)
    {
        return $this->buildResponse(array(
            GameService::get()->updateGuide($userId, $guideGroup, $step)
        ));
    }
}